<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.3.1"/>
<title>Doxygen manual for MemAlloc: MemAllocException Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { searchBox.OnSelectItem(0); });
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td style="padding-left: 0.5em;">
   <div id="projectname">Doxygen manual for MemAlloc
   </div>
  </td>
   <td>        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
</td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.3.1 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Enumerations</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Enumerator</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>Pages</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-types">Public Types</a> &#124;
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="classMemAllocException-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">MemAllocException Class Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p>General exception class for <a class="el" href="classMemAlloc.html" title="Memory Allocator interface class.">MemAlloc</a>.  
 <a href="classMemAllocException.html#details">More...</a></p>

<p><code>#include &lt;<a class="el" href="memalloc_8hpp_source.html">memalloc.hpp</a>&gt;</code></p>
<div class="dynheader">
Inheritance diagram for MemAllocException:</div>
<div class="dyncontent">
 <div class="center">
  <img src="classMemAllocException.png" usemap="#MemAllocException_map" alt=""/>
  <map id="MemAllocException_map" name="MemAllocException_map">
<area href="classMemAllocWaitException.html" alt="MemAllocWaitException" shape="rect" coords="0,112,147,136"/>
</map>
 </div></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-types"></a>
Public Types</h2></td></tr>
<tr class="memitem:ac3fd2c587adfa5e5b0103726b7a904a6"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classMemAllocException.html#ac3fd2c587adfa5e5b0103726b7a904a6">ErrorCode</a> { <br/>
&#160;&#160;<a class="el" href="classMemAllocException.html#ac3fd2c587adfa5e5b0103726b7a904a6aa4b97f6ea94cd2d21a95c5c160653ac8">E_NOMEM</a>, 
<a class="el" href="classMemAllocException.html#ac3fd2c587adfa5e5b0103726b7a904a6af679a18c42956d57ea9faba187a53abc">E_NOBUFS</a>, 
<a class="el" href="classMemAllocException.html#ac3fd2c587adfa5e5b0103726b7a904a6a7bcf7d48ac8a19c04a0640a860962a41">E_2BIG</a>, 
<a class="el" href="classMemAllocException.html#ac3fd2c587adfa5e5b0103726b7a904a6a3008655d86e99bc5381d30a77a0849d0">E_MLINK</a>, 
<br/>
&#160;&#160;<a class="el" href="classMemAllocException.html#ac3fd2c587adfa5e5b0103726b7a904a6a586f122668724e3f1e01f3fbeeba75be">E_ALREADY</a>, 
<a class="el" href="classMemAllocException.html#ac3fd2c587adfa5e5b0103726b7a904a6a50648e353fcb42e61010e9ddd176941d">E_UNINITIALIZED</a>, 
<a class="el" href="classMemAllocException.html#ac3fd2c587adfa5e5b0103726b7a904a6a2d8b36b976231e98b10f6139dfe65bf0">E_INVALID_INIT_SIZES</a>, 
<a class="el" href="classMemAllocException.html#ac3fd2c587adfa5e5b0103726b7a904a6a8d5941f2fc2044dc2a192255b395563d">E_ACTIVE_MEMORY_FREE</a>, 
<br/>
&#160;&#160;<a class="el" href="classMemAllocException.html#ac3fd2c587adfa5e5b0103726b7a904a6a9ac26b04b79de49b3e484eeb4c299432">E_OUT_OF_BOUNDS</a>
<br/>
 }</td></tr>
<tr class="separator:ac3fd2c587adfa5e5b0103726b7a904a6"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:a8dd593d188ef7bb03a78c175504070e0"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a8dd593d188ef7bb03a78c175504070e0"></a>
&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classMemAllocException.html#a8dd593d188ef7bb03a78c175504070e0">MemAllocException</a> ()=delete</td></tr>
<tr class="memdesc:a8dd593d188ef7bb03a78c175504070e0"><td class="mdescLeft">&#160;</td><td class="mdescRight">No default constructor. <br/></td></tr>
<tr class="separator:a8dd593d188ef7bb03a78c175504070e0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5b0f8e188737024d80b209ef87e839e5"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a5b0f8e188737024d80b209ef87e839e5"></a>
&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classMemAllocException.html#a5b0f8e188737024d80b209ef87e839e5">MemAllocException</a> (<a class="el" href="classMemAllocException.html#ac3fd2c587adfa5e5b0103726b7a904a6">ErrorCode</a> error_code, const std::string &amp;error_msg)</td></tr>
<tr class="memdesc:a5b0f8e188737024d80b209ef87e839e5"><td class="mdescLeft">&#160;</td><td class="mdescRight">Only constructor taking error_code and error_message. <br/></td></tr>
<tr class="separator:a5b0f8e188737024d80b209ef87e839e5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad3d89ad802e2f894d93a6833b79e1f8a"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ad3d89ad802e2f894d93a6833b79e1f8a"></a>
virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classMemAllocException.html#ad3d89ad802e2f894d93a6833b79e1f8a">~MemAllocException</a> () noexcept</td></tr>
<tr class="memdesc:ad3d89ad802e2f894d93a6833b79e1f8a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Virtual destructor. <br/></td></tr>
<tr class="separator:ad3d89ad802e2f894d93a6833b79e1f8a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a34ef14ce808575d5413a1460b07849e1"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a34ef14ce808575d5413a1460b07849e1"></a>
virtual const char *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classMemAllocException.html#a34ef14ce808575d5413a1460b07849e1">what</a> () const noexcept</td></tr>
<tr class="memdesc:a34ef14ce808575d5413a1460b07849e1"><td class="mdescLeft">&#160;</td><td class="mdescRight">Standart std::exception what redefinition() <br/></td></tr>
<tr class="separator:a34ef14ce808575d5413a1460b07849e1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a647676d7d029b6bb5483e10a2126c07f"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a647676d7d029b6bb5483e10a2126c07f"></a>
virtual <a class="el" href="classMemAllocException.html#ac3fd2c587adfa5e5b0103726b7a904a6">ErrorCode</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classMemAllocException.html#a647676d7d029b6bb5483e10a2126c07f">GetErrorCode</a> () const noexcept</td></tr>
<tr class="memdesc:a647676d7d029b6bb5483e10a2126c07f"><td class="mdescLeft">&#160;</td><td class="mdescRight">GetErrorCode method returns ErrorCode. <br/></td></tr>
<tr class="separator:a647676d7d029b6bb5483e10a2126c07f"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>General exception class for <a class="el" href="classMemAlloc.html" title="Memory Allocator interface class.">MemAlloc</a>. </p>
</div><h2 class="groupheader">Member Enumeration Documentation</h2>
<a class="anchor" id="ac3fd2c587adfa5e5b0103726b7a904a6"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">enum <a class="el" href="classMemAllocException.html#ac3fd2c587adfa5e5b0103726b7a904a6">MemAllocException::ErrorCode</a></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>An ErrorCode enum contains several constants which may be used in <a class="el" href="classMemAllocException.html" title="General exception class for MemAlloc.">MemAllocException</a> and derived exception classes </p>
<table class="fieldtable">
<tr><th colspan="2">Enumerator</th></tr><tr><td class="fieldname"><em><a class="anchor" id="ac3fd2c587adfa5e5b0103726b7a904a6aa4b97f6ea94cd2d21a95c5c160653ac8"></a>E_NOMEM</em>&nbsp;</td><td class="fielddoc">
<p>Not enough memory to load memory region from swap </p>
</td></tr>
<tr><td class="fieldname"><em><a class="anchor" id="ac3fd2c587adfa5e5b0103726b7a904a6af679a18c42956d57ea9faba187a53abc"></a>E_NOBUFS</em>&nbsp;</td><td class="fielddoc">
<p>Too fragmented RAM </p>
</td></tr>
<tr><td class="fieldname"><em><a class="anchor" id="ac3fd2c587adfa5e5b0103726b7a904a6a7bcf7d48ac8a19c04a0640a860962a41"></a>E_2BIG</em>&nbsp;</td><td class="fielddoc">
<p>Requested memory region is too big for allocator </p>
</td></tr>
<tr><td class="fieldname"><em><a class="anchor" id="ac3fd2c587adfa5e5b0103726b7a904a6a3008655d86e99bc5381d30a77a0849d0"></a>E_MLINK</em>&nbsp;</td><td class="fielddoc">
<p>Lack of free memory identifiers </p>
</td></tr>
<tr><td class="fieldname"><em><a class="anchor" id="ac3fd2c587adfa5e5b0103726b7a904a6a586f122668724e3f1e01f3fbeeba75be"></a>E_ALREADY</em>&nbsp;</td><td class="fielddoc">
<p>Allocator has already been initialized </p>
</td></tr>
<tr><td class="fieldname"><em><a class="anchor" id="ac3fd2c587adfa5e5b0103726b7a904a6a50648e353fcb42e61010e9ddd176941d"></a>E_UNINITIALIZED</em>&nbsp;</td><td class="fielddoc">
<p>Allocator is unitialized </p>
</td></tr>
<tr><td class="fieldname"><em><a class="anchor" id="ac3fd2c587adfa5e5b0103726b7a904a6a2d8b36b976231e98b10f6139dfe65bf0"></a>E_INVALID_INIT_SIZES</em>&nbsp;</td><td class="fielddoc">
<p>Swap area is smaller than mem area </p>
</td></tr>
<tr><td class="fieldname"><em><a class="anchor" id="ac3fd2c587adfa5e5b0103726b7a904a6a8d5941f2fc2044dc2a192255b395563d"></a>E_ACTIVE_MEMORY_FREE</em>&nbsp;</td><td class="fielddoc">
<p>Someone tried to Free memory which is currently in use </p>
</td></tr>
<tr><td class="fieldname"><em><a class="anchor" id="ac3fd2c587adfa5e5b0103726b7a904a6a9ac26b04b79de49b3e484eeb4c299432"></a>E_OUT_OF_BOUNDS</em>&nbsp;</td><td class="fielddoc">
<p>array index is out of bounds </p>
</td></tr>
</table>

</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li>/home/oponomarev/workspace/parallels-ip-2014/trunk/interfaces/<a class="el" href="memalloc_8hpp_source.html">memalloc.hpp</a></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Mon Apr 7 2014 12:04:10 for Doxygen manual for MemAlloc by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.3.1
</small></address>
</body>
</html>
